package com.zhangshuo.patternDesign.mediator;

import java.util.List;

/**
 * Created by shuo.zhang on 2017-10-24.
 *
 * 门派联盟
 */
public interface IPatternAlliance {

    /**
     * 加入联盟
     * @param school
     */
    void add(School school);

    /**
     * 联盟攻击
     * @param activeSide
     * @param passiveSide
     */
    void resolveAttack(School activeSide, School passiveSide);

    /**
     * 联盟防御
     * @param passiveSide
     */
    void resolveDefense(School passiveSide);

}
